<?php
/**
 * User: aka
 * Time: 20:37
 */

namespace app\validate\goodsEntry;

use think\Validate;

class SendGoodsEntry extends Validate
{
    protected $rule =   [
        'name|物品名称' => 'require|min:1|max:100|token',
        'english_name|物品英文名称' => 'require|min:1|max:100',
        'aka|简称' => 'min:1|max:100',
        'des|物品描述' => 'require|min:1|max:255',
        'tax|交易税' => 'require|min:1|max:20',
        'price|物品均价' => 'require|min:1|max:11|number',
    ];
}